import Instance from './instance'

let single = null

function getSingle() {
  single = single || Instance.newInstance()
  return single
}

function show(txt) {
  const ll = getSingle()
  ll.showTxt(txt)
}

export default {
  show(txt) {
    return show(txt)
  }
}
